package com.financial.service.sysconfig.service.impl;

import com.financial.service.sysconfig.util.JsonUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.financial.service.sysconfig.dao.FinancialPlatfromConfigDao;
import com.financial.service.sysconfig.domain.FinancialPlatfromConfigDO;
import com.financial.service.sysconfig.service.FinancialPlatfromConfigService;



@Service
public class FinancialPlatfromConfigServiceImpl implements FinancialPlatfromConfigService {
	@Autowired
	private FinancialPlatfromConfigDao financialPlatfromConfigDao;
	/**
	 * 查询一条平台信息
	 * @param platfromMarking
	 * @return
	 */
	@Override
	public String queryValue(String platfromMarking) {
		FinancialPlatfromConfigDO financialPlatfromConfigDO = financialPlatfromConfigDao.queryValue(platfromMarking);
		/*返回json字符串*/
		String platfromConfigJson=JsonUtils.beanToJson(financialPlatfromConfigDO);
		return platfromConfigJson;
	}
}
